package com.victualler.core.config.permission.dto;

import com.victualler.core.config.permission.entity.PermissionInfoDao;

import java.util.List;

/**
 * @author Guoshichang
 * @since 21:22 on 2018/9/9.
 */
public class PermissionGroupDto {
    /**角色没配置的权限列表*/
    private List<PermissionInfoDao> allPermissionList;
    /**角色已配置的权限列表*/
    private List<PermissionInfoDao> myPermissionList;

    public PermissionGroupDto() {
    }

    public PermissionGroupDto(List<PermissionInfoDao> allPermissionList, List<PermissionInfoDao> myPermissionList) {
        this.allPermissionList = allPermissionList;
        this.myPermissionList = myPermissionList;
    }

    public List<PermissionInfoDao> getAllPermissionList() {
        return allPermissionList;
    }

    public void setAllPermissionList(List<PermissionInfoDao> allPermissionList) {
        this.allPermissionList = allPermissionList;
    }

    public List<PermissionInfoDao> getMyPermissionList() {
        return myPermissionList;
    }

    public void setMyPermissionList(List<PermissionInfoDao> myPermissionList) {
        this.myPermissionList = myPermissionList;
    }
}
